<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('confirm')}">
			<div class="form-group">
				<label class="col-sm-2 control-label">项目名称</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" disabled value="{$info.name}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">项目负责人</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" disabled value="{$info.user_nickname}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">项目类型</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" disabled value="<eq name='info.type' value='1'>开发对接市场<else/>市场对接开发</eq>">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><eq name="info.type" value="1">产品<else/>买家</eq></label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" disabled value="{$name}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><eq name="info.type" value="1">开发<else/>市场</eq>助手</label>
				<div class="col-md-6 col-sm-10">
					<volist name="users" id="vo">
						<eq name="info.type" value="1">
							<eq name="vo.type" value="2">
								<input type="text" class="form-control" disabled value="{$vo.teamname}">
							</eq>
						<else/>
							<eq name="vo.type" value="4">
								<input type="text" class="form-control" disabled value="{$vo.teamname}">
							</eq>
						</eq>
					</volist>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">财务</label>
				<div class="col-md-6 col-sm-10">
					<volist name="users" id="vo">
						<eq name="vo.type" value="5">
							<input type="text" class="form-control" disabled value="{$vo.teamname}">
						</eq>
					</volist>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">风控</label>
				<div class="col-md-6 col-sm-10">
					<volist name="users" id="vo">
						<eq name="vo.type" value="6">
							<input type="text" class="form-control" disabled value="{$vo.teamname}">
						</eq>
					</volist>
				</div>
			</div>
			<div class="form-group">
				<label for="input-oid" class="col-sm-2 control-label"><span class="form-required">*</span><eq name="info.type" value="1">买家<else/>产品</eq>选择</label>
				<div class="col-md-6 col-sm-10">
					<input class="form-control" type="text" style="width:400px;" required value=""
						   placeholder="请选择项目<eq name='info.type' value='1'>买家<else/>产品</eq>" onclick="doSelectLayer(this);"
						   data-url="<eq name='info.type' value='1'>{:url('buyer/buyer_select')}<else/>{:url('resource_library/product_select')}</eq>" data-id="input-oid" name="layer_temp[1]"
						   readonly/>
					<input class="form-control" type="hidden" value="" name="oid"
						   id="input-oid"/>
				</div>
			</div>
			<div class="form-group">
				<label for="input-firaides" class="col-sm-2 control-label"><eq name="info.type" value="1">市场<else/>开发</eq>助手</label>
				<div class="col-md-6 col-sm-10">
					<input class="form-control" type="text" style="width:400px;" value=""
						   placeholder="请选择项目<eq name='info.type' value='1'>市场<else/>开发</eq>助手" onclick="doSelectLayer(this);"
						   data-url="{:url('user/check',['type' => $info['type'] == 1 ? 3 : 2])}" data-id="input-firaides" name="layer_temp[2]"
						   readonly/>
					<input class="form-control" type="hidden" value="" name="firaides"
						   id="input-firaides"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" name="pid" value="{$pid}"/>
					<button type="submit" class="btn btn-primary js-ajax-submit">确认</button>
					<a class="btn btn-default" href="{:url('index')}">返回</a>
				</div>
			</div>
		</form>
	</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>